|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote in message
news:3d51a85c@news.povray.org...
> Pandora <pan### [at] pandora-software com> wrote:
> > Writing your own templated min/max functions could be seen as a
> > 'workaround'...
>
> A workaround for what? If it works perfectly, with absolutely no
> compromises, how is it a workaround?
>
It's a workaround because the POV source code is not C++ code, it's C
code. Any true solution to the problem should work on any given _C_
compiler. Unfortunately there are no true solutions to this problem, only
workarounds - either use carefully declared and used macros or a C++
compiler and templated functions - both workarounds in the context of the
POV source code.
--
Pandora/Scott Hill/[::O:M:C::]Scorpion
Software Engineer.
http://www.pandora-software.com
Post a reply to this message
|
![](/i/fill.gif) |